package com.qjkji.orderproject.core.service;

import com.qjkji.orderproject.core.entity.User;

public interface UserService {

    boolean registeredUser(User user);

    boolean updatePassword(String oldPassword, String newPassword);

    User getUserById(Integer id);

    User getUserByName(String userName);

}
